﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200107D RID: 4221
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueTournTakeExpRewardCsReq : IMessage<RogueTournTakeExpRewardCsReq>, IMessage, IEquatable<RogueTournTakeExpRewardCsReq>, IDeepCloneable<RogueTournTakeExpRewardCsReq>, IBufferMessage
	{
		// Token: 0x1700353A RID: 13626
		// (get) Token: 0x0600BC71 RID: 48241 RVA: 0x001FBD09 File Offset: 0x001F9F09
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueTournTakeExpRewardCsReq> Parser
		{
			get
			{
				return RogueTournTakeExpRewardCsReq._parser;
			}
		}

		// Token: 0x1700353B RID: 13627
		// (get) Token: 0x0600BC72 RID: 48242 RVA: 0x001FBD10 File Offset: 0x001F9F10
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueTournTakeExpRewardCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700353C RID: 13628
		// (get) Token: 0x0600BC73 RID: 48243 RVA: 0x001FBD22 File Offset: 0x001F9F22
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueTournTakeExpRewardCsReq.Descriptor;
			}
		}

		// Token: 0x0600BC74 RID: 48244 RVA: 0x001FBD29 File Offset: 0x001F9F29
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournTakeExpRewardCsReq()
		{
		}

		// Token: 0x0600BC75 RID: 48245 RVA: 0x001FBD3C File Offset: 0x001F9F3C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournTakeExpRewardCsReq(RogueTournTakeExpRewardCsReq other) : this()
		{
			this.subTournId_ = other.subTournId_;
			this.oKMFLGINCMB_ = other.oKMFLGINCMB_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600BC76 RID: 48246 RVA: 0x001FBD72 File Offset: 0x001F9F72
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournTakeExpRewardCsReq Clone()
		{
			return new RogueTournTakeExpRewardCsReq(this);
		}

		// Token: 0x1700353D RID: 13629
		// (get) Token: 0x0600BC77 RID: 48247 RVA: 0x001FBD7A File Offset: 0x001F9F7A
		// (set) Token: 0x0600BC78 RID: 48248 RVA: 0x001FBD82 File Offset: 0x001F9F82
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint SubTournId
		{
			get
			{
				return this.subTournId_;
			}
			set
			{
				this.subTournId_ = value;
			}
		}

		// Token: 0x1700353E RID: 13630
		// (get) Token: 0x0600BC79 RID: 48249 RVA: 0x001FBD8B File Offset: 0x001F9F8B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> OKMFLGINCMB
		{
			get
			{
				return this.oKMFLGINCMB_;
			}
		}

		// Token: 0x0600BC7A RID: 48250 RVA: 0x001FBD93 File Offset: 0x001F9F93
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueTournTakeExpRewardCsReq);
		}

		// Token: 0x0600BC7B RID: 48251 RVA: 0x001FBDA4 File Offset: 0x001F9FA4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueTournTakeExpRewardCsReq other)
		{
			return other != null && (other == this || (this.SubTournId == other.SubTournId && this.oKMFLGINCMB_.Equals(other.oKMFLGINCMB_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600BC7C RID: 48252 RVA: 0x001FBDF4 File Offset: 0x001F9FF4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.SubTournId != 0U)
			{
				num ^= this.SubTournId.GetHashCode();
			}
			num ^= this.oKMFLGINCMB_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600BC7D RID: 48253 RVA: 0x001FBE41 File Offset: 0x001FA041
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600BC7E RID: 48254 RVA: 0x001FBE49 File Offset: 0x001FA049
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600BC7F RID: 48255 RVA: 0x001FBE54 File Offset: 0x001FA054
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.oKMFLGINCMB_.WriteTo(ref output, RogueTournTakeExpRewardCsReq._repeated_oKMFLGINCMB_codec);
			if (this.SubTournId != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.SubTournId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600BC80 RID: 48256 RVA: 0x001FBEA4 File Offset: 0x001FA0A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.SubTournId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.SubTournId);
			}
			num += this.oKMFLGINCMB_.CalculateSize(RogueTournTakeExpRewardCsReq._repeated_oKMFLGINCMB_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600BC81 RID: 48257 RVA: 0x001FBEF8 File Offset: 0x001FA0F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueTournTakeExpRewardCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.SubTournId != 0U)
			{
				this.SubTournId = other.SubTournId;
			}
			this.oKMFLGINCMB_.Add(other.oKMFLGINCMB_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600BC82 RID: 48258 RVA: 0x001FBF45 File Offset: 0x001FA145
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600BC83 RID: 48259 RVA: 0x001FBF50 File Offset: 0x001FA150
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 16U && num != 18U)
				{
					if (num != 96U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.SubTournId = input.ReadUInt32();
					}
				}
				else
				{
					this.oKMFLGINCMB_.AddEntriesFrom(ref input, RogueTournTakeExpRewardCsReq._repeated_oKMFLGINCMB_codec);
				}
			}
		}

		// Token: 0x04004BDF RID: 19423
		private static readonly MessageParser<RogueTournTakeExpRewardCsReq> _parser = new MessageParser<RogueTournTakeExpRewardCsReq>(() => new RogueTournTakeExpRewardCsReq());

		// Token: 0x04004BE0 RID: 19424
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004BE1 RID: 19425
		public const int SubTournIdFieldNumber = 12;

		// Token: 0x04004BE2 RID: 19426
		private uint subTournId_;

		// Token: 0x04004BE3 RID: 19427
		public const int OKMFLGINCMBFieldNumber = 2;

		// Token: 0x04004BE4 RID: 19428
		private static readonly FieldCodec<uint> _repeated_oKMFLGINCMB_codec = FieldCodec.ForUInt32(18U);

		// Token: 0x04004BE5 RID: 19429
		private readonly RepeatedField<uint> oKMFLGINCMB_ = new RepeatedField<uint>();
	}
}
